Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /


Chapter 6 - Style Objects

This chapter describes style objects (or styles) and the functions you can use to manipulate them. You use styles to specify some of the basic characteristics of a renderer. For example, one renderer style determines whether an object is drawn as a solid filled object or as a set of edges. Another renderer style determines whether a surface is drawn smoothly or as a set of polygonal facets.

To use this chapter, you should already be familiar with the QuickDraw 3D class hierarchy, described in the chapter "QuickDraw 3D Objects" earlier in this book. For information about renderers, see the chapter "Renderer Objects" in this book. You do not, however, need to know how to create or manipulate renderers to read this chapter.

This chapter begins by describing style objects and their features. Then it shows how to specify the current rendering styles of a model. The section "Style Objects Reference," beginning on page 6-11 provides a complete description of style objects and the routines you can use to create and manipulate them.


Chapter Contents
About Style Objects
Backfacing Styles
Interpolation Styles
Fill Styles
Highlight Styles
Subdivision Styles
Orientation Styles
Shadow-Receiving Styles
Picking ID Styles
Picking Parts Styles
Using Style Objects
Style Objects Reference
Data Structures
Subdivision Style Data Structure
Style Objects Routines
Managing Styles
Managing Backfacing Styles
Managing Interpolation Styles
Managing Fill Styles
Managing Highlight Styles
Managing Subdivision Styles
Managing Orientation Styles
Managing Shadow-Receiving Styles
Managing Picking ID Styles
Managing Picking Parts Styles
Summary of Style Objects
C Summary
Constants
Data Types
Style Objects Routines
Managing Styles
Managing Backfacing Styles
Managing Interpolation Styles
Managing Fill Styles
Managing Highlight Styles
Managing Subdivision Styles
Managing Orientation Styles
Managing Shadow-Receiving Styles
Managing Picking ID Styles
Managing Picking Parts Styles

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996